package cn.easier.activity.console.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

public class BargainGoodsParams implements Serializable {

	private Integer egtid;// 主键

	private Integer activityInfoId;

	private String goodsName;// 商品全称

	private int stock;// 剩余库存

	private Integer bill; // 话费的面额，单位分

	private int exchangeScore;// 积分兑换价格

	private String goodsType;// 商品类型

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date beginTime;// 日期范围开始时间

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;// 日期范围结束时间

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	private boolean releaseFlag = false;

	private int isDel;

	private int topFlag;

	private double bargainTime;// 砍价时间

	private String imgSrc;// 商品图片

	private String shareTitle;// 商品分享标题

	private Integer scoreStart;// 单次砍价金额起始

	private Integer scoreEnd;// 单次砍价金额结束

	private Integer lowestQuotation;// 最低金额

	private Integer bargainNum;// 砍价次数

	private String description;// 商品简介

	private String instructions;// 使用说明

	private String shareImgUrl;// 商品分享图片

	@Override
	public String toString() {
		return "BargainGoodsParams{" +
				"egtid=" + egtid +
				", activityInfoId=" + activityInfoId +
				", goodsName='" + goodsName + '\'' +
				", stock=" + stock +
				", bill=" + bill +
				", exchangeScore=" + exchangeScore +
				", goodsType='" + goodsType + '\'' +
				", beginTime=" + beginTime +
				", endTime=" + endTime +
				", createTime=" + createTime +
				", releaseFlag=" + releaseFlag +
				", isDel=" + isDel +
				", topFlag=" + topFlag +
				", bargainTime=" + bargainTime +
				", imgSrc='" + imgSrc + '\'' +
				", shareTitle='" + shareTitle + '\'' +
				", scoreStart=" + scoreStart +
				", scoreEnd=" + scoreEnd +
				", lowestQuotation=" + lowestQuotation +
				", bargainNum=" + bargainNum +
				", description='" + description + '\'' +
				", instructions='" + instructions + '\'' +
				", shareImgUrl='" + shareImgUrl + '\'' +
				'}';
	}

	public Integer getEgtid() {
		return egtid;
	}

	public void setEgtid(Integer egtid) {
		this.egtid = egtid;
	}

	public Integer getActivityInfoId() {
		return activityInfoId;
	}

	public void setActivityInfoId(Integer activityInfoId) {
		this.activityInfoId = activityInfoId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public Integer getBill() {
		return bill;
	}

	public void setBill(Integer bill) {
		this.bill = bill;
	}

	public int getExchangeScore() {
		return exchangeScore;
	}

	public void setExchangeScore(int exchangeScore) {
		this.exchangeScore = exchangeScore;
	}

	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public boolean isReleaseFlag() {
		return releaseFlag;
	}

	public void setReleaseFlag(boolean releaseFlag) {
		this.releaseFlag = releaseFlag;
	}

	public int getIsDel() {
		return isDel;
	}

	public void setIsDel(int isDel) {
		this.isDel = isDel;
	}

	public int getTopFlag() {
		return topFlag;
	}

	public void setTopFlag(int topFlag) {
		this.topFlag = topFlag;
	}

	public double getBargainTime() {
		return bargainTime;
	}

	public void setBargainTime(double bargainTime) {
		this.bargainTime = bargainTime;
	}

	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}

	public String getShareTitle() {
		return shareTitle;
	}

	public void setShareTitle(String shareTitle) {
		this.shareTitle = shareTitle;
	}

	public Integer getScoreStart() {
		return scoreStart;
	}

	public void setScoreStart(Integer scoreStart) {
		this.scoreStart = scoreStart;
	}

	public Integer getScoreEnd() {
		return scoreEnd;
	}

	public void setScoreEnd(Integer scoreEnd) {
		this.scoreEnd = scoreEnd;
	}

	public Integer getLowestQuotation() {
		return lowestQuotation;
	}

	public void setLowestQuotation(Integer lowestQuotation) {
		this.lowestQuotation = lowestQuotation;
	}

	public Integer getBargainNum() {
		return bargainNum;
	}

	public void setBargainNum(Integer bargainNum) {
		this.bargainNum = bargainNum;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getInstructions() {
		return instructions;
	}

	public void setInstructions(String instructions) {
		this.instructions = instructions;
	}

	public String getShareImgUrl() {
		return shareImgUrl;
	}

	public void setShareImgUrl(String shareImgUrl) {
		this.shareImgUrl = shareImgUrl;
	}
}
